package org.example.mybatis.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class helloworld {

    // 当访问会返回
    @GetMapping("/hello")
    public String hello() {
        return "Hello World";
    }
}
